package com.xusheng.cli.req;

import cn.hutool.core.date.DatePattern;
import com.xusheng.cli.common.base.BaseRequest;
import com.xusheng.cli.entity.dictionaryModule.Category;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ToString
public class CategoryQueryReq extends BaseRequest<Category> {

    private String name;
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private LocalDateTime startTime;
    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private LocalDateTime endTime;

}

